﻿<%@ Page Title="" Language="C#" MasterPageFile="~/adminaq/Adminpage.Master" AutoEventWireup="true"
    CodeBehind="AQListEmployee.aspx.cs" Inherits="ToolwebAQ.adminaq.AQListEmployee" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.11.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="content-box">
        <div class="box-header clear">
            <h2>
                Danh sách nhân viên</h2>
        </div>
        <div class="box-body clear">
            <div style="overflow: auto">
                <dx:ASPxGridView ID="gvListEmployee" ClientInstanceName="gvListEmployee" runat="server"
                    KeyFieldName="Id_employee" Width="100%">
                    <Columns>
                        <dx:GridViewDataTextColumn FieldName="" Caption="STT" Width="20px" VisibleIndex="0">
                            <HeaderStyle HorizontalAlign="Center" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="employee_name" Caption="TÊN NHÂN VIÊN" VisibleIndex="1">
                            <HeaderStyle HorizontalAlign="Center" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="Status" Caption="VỊ TRÍ" VisibleIndex="2">
                            <HeaderStyle HorizontalAlign="Center" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="employee_mail" Caption="EMAIL" VisibleIndex="3">
                            <HeaderStyle HorizontalAlign="Center" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="phoneNumber" Caption="SỐ ĐIỆN THOẠI" VisibleIndex="4">
                            <HeaderStyle HorizontalAlign="Center" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewCommandColumn Caption="CHỨC NĂNG" VisibleIndex="5">
                            <NewButton Visible="true" />
                            <EditButton Visible="true" />
                            <HeaderStyle HorizontalAlign="Center" />
                        </dx:GridViewCommandColumn>
                        <dx:GridViewCommandColumn ShowSelectCheckbox="true" VisibleIndex="8">
                            <HeaderTemplate>
                                <dx:ASPxCheckBox ID="SelectAllCheckBox" runat="server" ToolTip="Chọn tất cả" ClientSideEvents-CheckedChanged="function(s, e) { gvListEmployee.SelectAllRowsOnPage(s.GetChecked()); }" />
                            </HeaderTemplate>
                            <HeaderStyle HorizontalAlign="Center" />
                        </dx:GridViewCommandColumn>
                    </Columns>
                    <SettingsPager PageSize="10" />
                </dx:ASPxGridView>
            </div>
        </div>
    </div>
</asp:Content>
